package net.rossillo.spring.context.support;

public class FacebookCommentsModel {
	
	private final String xid;
	
	private boolean canPost;
	private boolean canDelete;
	private boolean showForm;
	
	private int numPosts;
	
	private Long notifyUid;
	
	private String title;
	
	private String returnUrl;
	
	public FacebookCommentsModel(String xid) {
		this.xid = xid;
		this.canDelete = false;
		this.canPost = true;
		this.showForm = true;
	}

	public boolean isCanPost() {
		return canPost;
	}

	public void setCanPost(boolean canPost) {
		this.canPost = canPost;
	}

	public boolean isCanDelete() {
		return canDelete;
	}

	public void setCanDelete(boolean canDelete) {
		this.canDelete = canDelete;
	}

	public boolean isShowForm() {
		return showForm;
	}

	public void setShowForm(boolean showForm) {
		this.showForm = showForm;
	}

	public int getNumPosts() {
		return numPosts;
	}

	public void setNumPosts(int numPosts) {
		this.numPosts = numPosts;
	}

	public Long getNotifyUid() {
		return notifyUid;
	}

	public void setNotifyUid(Long notifyUid) {
		this.notifyUid = notifyUid;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getXid() {
		return xid;
	}

	public String getReturnUrl() {
		return returnUrl;
	}

	public void setReturnUrl(String returnUrl) {
		this.returnUrl = returnUrl;
	}

}
